package org.jeecg.modules.platform.fallback;

import org.jeecg.modules.platform.api.PlatformOrganizationMemberPermissionApi;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConditionalOnMissingClass("org.jeecg.modules.platform.member.controller.CyPlatformOrganizationMemberPermissionController")
public class PlatformOrganizationMemberPermissionFallback implements PlatformOrganizationMemberPermissionApi {
    @Override
    public List<String> listPermission(String userId, String moduleId) {
        throw new RuntimeException("未开通权限控制模块");
    }
}
